export interface WorkPlan {
  id?: string
  model: string
  workOrder: string
  quantity: number
  date: string
  notes?: string
  status?: 'pending' | 'in-progress' | 'completed' | 'delayed'
}

export interface Material {
  id?: string
  serial: number
  model: string
  name: string
  quantity: number
  notes?: string
  location: string
}

export interface WorkOrderData {
  id?: string
  workOrder: string
  workOrderType: string
  partNumber: string
  partName: string
  specification: string
  category: string
  workOrderQuantity: number
  version: string
  productionDate: string
  process: string
  stencilTop: boolean
  stencilBot: boolean
  reflowFixture: boolean
  waveFixture: boolean
  pressFixture: boolean
  bom: boolean
  sop: boolean
  productionMaterials: boolean
  type: string
}

export interface Stencil {
  id?: string
  serial: number
  model: string
  quantity: number
  openTime: string
  acceptanceTime: string
  status: 'pending' | 'in-progress' | 'completed' | 'rejected'
  notes?: string
}

export interface Fixture {
  id?: string
  serial: number
  model: string
  quantity: number
  openTime: string
  acceptanceTime: string
  status: 'pending' | 'in-progress' | 'completed' | 'rejected'
  notes?: string
}

export interface SOPApproval {
  id?: string
  serial: number
  model: string
  status: 'pending' | 'submitted' | 'approved' | 'rejected'
  submitTime: string
  approvalTime?: string
  notes?: string
}

export interface ExportOptions {
  format: 'json' | 'csv' | 'excel'
  data: any[]
  filename: string
}
